public class Test {
    public static void main(String[] args) {
        Animal animal=new Sheep("喜羊羊",3);
        Animal animal1=new Dog("旺财",5);
        animal.makeSound();
        animal1.makeSound();
        System.out.println(animal.value);
    }
}